import { ENUM_PLATFORM } from "@/enum/system.enum";
import { userStore } from "@/store/modules/user/user";

export const isYJT = () => {
  const user = userStore();
  if (user.user.admin) {
    return false;
  } else if (user.$state.user.platform === ENUM_PLATFORM.YI_JIE_TONG) {
    return true;
  } else {
    return false;
  }
};
